﻿using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace GroupMeal.Foods
{
    /// <summary>
    /// 菜品类型服务
    /// </summary>
    public interface IFoodTypeAppService:IApplicationService
    {
        Task<BackJson> GetList(string? filterName);

        Task<BackJson> Create(CreateFoodTypeDto dto);

        Task<BackJson> Edit(FoodTypeDto dto);

        Task<BackJson> Delete(Guid id);

        Task<BackJson> GetDetail(Guid id);

    }
}
